package com.xl.generator.common;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @author XGJ
 * @apiNote
 * @date 2022/10/6 21:45
 */
@Data
public class ActionResult<R, A> {
    @JSONField(name = "status")
    private StatusResult status;
    @JSONField(name = "result")
    private R result;
    @JSONField(name = "attached")
    private A attached;

    public ActionResult() {
        this.status = new StatusResult();
    }
}
